package com.brodong.animal_remake.common.skills;

import com.brodong.animal_remake.common.entities.monster.realization.SkillBasicEntity;
import net.minecraft.core.particles.ParticleTypes;
import net.minecraft.network.syncher.EntityDataAccessor;
import net.minecraft.network.syncher.EntityDataSerializers;
import net.minecraft.network.syncher.SynchedEntityData;
import net.minecraft.util.Mth;

public interface HaveSkill {
    public static final EntityDataAccessor<Byte> DATA_SPELL_CASTING_ID = SynchedEntityData.defineId(SkillBasicEntity.class, EntityDataSerializers.BYTE);
    public int spellCastingTickCount = 0;
    public Currentskills skill = Currentskills.NONE;
    //检测施法
    public boolean isCastingSpell();
    //设置正在施法
    public void setIsCastingSpell(Currentskills p_33728_);
    //获取当前法术
    public Currentskills getCurrentSpell();
    //获取施法时间
    public int getSpellCastingTime();
    //减少施法时间
    public void RemoveSkillTick();
    //添加施法粒子
    public void AddParticle();
}
